﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessLogic.BusinessEntity.Entities;


namespace UserInterface.ClientApplication.UIEntity
{
	[Serializable]
	public class ClientView
	{
		public int ID { get; set; }

		public string Name { get; set; }

		public string Address { get; set; }

		public string Phone { get; set; }

		public string Email { get; set; }

		public string Fax { get; set; }

		public string UNP { get; set; }

		public ClientView()
		{
			
		}

		public ClientView(User user)
		{
			ID = user.ID;
			Name = user.Name;
			Phone = user.Phone;
			Email = user.Email;
			Fax = user.Fax;
		}

		public override string ToString()
		{
			return Name;
		}

		
		internal User ToBE()
		{
			User result = new User();
			return result;
		}
	}
}
